package complexity;

public class TestComparable {
    public static Comparable<Student> getMax(Student s1,Student s2){
        int i = s1.compareTo(s2);
        if (i<=0){
            return s2;
        }else
            return s1;
    }
}
